const successResponse = (data, message = 'Success') => ({
    status: 'success',
    message,
    data
});

const errorResponse = (message = 'Error', code = 400) => ({
    status: 'error',
    message,
    code
});

module.exports = {
    successResponse,
    errorResponse
};